package com.wx.tgp.designpattern.StrategyPattern.CalculatorPrice;

/**
 * 中级会员折扣类
 */
public class IntermediateMemberStrategy implements MemberStrategy{

    @Override
    public double calcPrice(double booksPrice) {
        System.out.println("中级会员折扣10%");
        return booksPrice*0.9;
    }
}
